home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5513 < prev    next >
Encoding:
Text File  |  1996-08-05  |  688 b   |  30 lines

  1. Path: news.kreonet.re.kr!usenet
  2. From: jwhahn@cair.kaist.ac.kr (Jung Hahn)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Why C++ sucks++
  5. Date: Mon, 05 Feb 1996 08:55:47 GMT
  6. Organization: Applied Database Labs, K.A.I.S.T
  7. Message-ID: <3115c58b.21415164@news.kreonet.re.kr>
  8. References: <4f3mqm$dgk@blackice.winternet.com>
  9. NNTP-Posting-Host: swine.kaist.ac.kr
  10. X-Newsreader: Forte Agent .99d/32.168
  11.  
  12. #include <stdio.h>
  13.  
  14. main ()
  15. {
  16.    int   a[] = { 0, 72, 29, 7, 0, 3, -79, 55, 24, 3, -6, -8, -67, -23,
  17. -1000 };
  18.    int   *i = a, c=0;
  19.  
  20.    for ( ; c>=0; c+=*i++, printf( "%c", c))
  21.       ;
  22. }
  23.  
  24. This one should work too!...
  25.  
  26. The Real Reason C++ sucks is that I don't know how to write C++
  27. programs .... :)
  28.  
  29.  
  30.